<?php
class num{
	public function NumberOf1($n) {
		$nums = 
	}
}
$data = new num;
$n=10;
print_r($data->NumberOf1($n));
?>